package com.spark.invoicings.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 采购付款单表
 * 
 * @author sunyan
 * @email sunyan@gmail.com
 * @date 2024-06-13 11:15:03
 */
@Data
@TableName("t_purchase_payment")
public class Payment implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 采购付款单id
	 */
	@TableId
	private Integer purchasePaymentId;
	/**
	 * 审批状态
	 */
	private Integer approvalStatusId;
	/**
	 * 供应商id
	 */
	private Integer supplierId;
	/**
	 * 供应商对账单id
	 */
	private Integer supplierStatementId;
	/**
	 * 付款金额
	 */
	private double paymentAmount;
	/**
	 * 财务
	 */
	private String finance;
	/**
	 * 付款日期
	 */
	private Date paymentDate;
	/**
	 * 凭证
	 */
	private String voucher;
	/**
	 * 备注
	 */
	private String note;
	/**
	 * 已核销金额
	 */
	private double verifiedAmount;
	/**
	 * 待核销金额
	 */
	private double unverifiedAmount;

	/**
	 * 审批人
	 * */
	private String approver;
	/**
	 * 审批时间
	 * */
	private String approvalTime;

	public Integer getPurchasePaymentId() {
		return purchasePaymentId;
	}

	public void setPurchasePaymentId(Integer purchasePaymentId) {
		this.purchasePaymentId = purchasePaymentId;
	}

	public Integer getApprovalStatusId() {
		return approvalStatusId;
	}

	public void setApprovalStatusId(Integer approvalStatusId) {
		this.approvalStatusId = approvalStatusId;
	}

	public Integer getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}

	public Integer getSupplierStatementId() {
		return supplierStatementId;
	}

	public void setSupplierStatementId(Integer supplierStatementId) {
		this.supplierStatementId = supplierStatementId;
	}

	public double getPaymentAmount() {
		return paymentAmount;
	}

	public void setPaymentAmount(double paymentAmount) {
		this.paymentAmount = paymentAmount;
	}

	public String getFinance() {
		return finance;
	}

	public void setFinance(String finance) {
		this.finance = finance;
	}

	public Date getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}

	public String getVoucher() {
		return voucher;
	}

	public void setVoucher(String voucher) {
		this.voucher = voucher;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public double getVerifiedAmount() {
		return verifiedAmount;
	}

	public void setVerifiedAmount(double verifiedAmount) {
		this.verifiedAmount = verifiedAmount;
	}

	public double getUnverifiedAmount() {
		return unverifiedAmount;
	}

	public void setUnverifiedAmount(double unverifiedAmount) {
		this.unverifiedAmount = unverifiedAmount;
	}

	public String getApprover() {
		return approver;
	}

	public void setApprover(String approver) {
		this.approver = approver;
	}

	public String getApprovalTime() {
		return approvalTime;
	}

	public void setApprovalTime(String approvalTime) {
		this.approvalTime = approvalTime;
	}
}
